package com.zby.model.reflect;

import java.lang.annotation.ElementType;

public class Demo01 {
    public static void main(String[] args) {

        Class c1 = Object.class;
        Class c2 = Comparable.class;
        Class c3 = String[].class;
        Class c4 = int.class;
        Class c8 = ElementType.class;
        Class c5 = void.class;
        Class c6 = Override.class;
        Class c7 = int[][].class;
        Class c9 = Class.class;

        int []a =  new int[10];
        int []b =  new int[100];
        Class c10 = a.getClass();
        Class c11 = b.getClass();
        if (c10 == c11){
            System.out.println("c10和c11是同一个对象");
        }else {
            System.out.println("c10和c11不是同一个对象");
        }

    }
}
